﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;

namespace Broker.Service
{
    public class WebApp
    {

        public static IDbConnection GetDbConnection()
        {
            string strConn = HttpContext.Current.Cache["SqlConnectionString"] as string;



            return new SqlConnection(strConn);
        }
    }
}